RM_PagBank\Helpers\Functions B

Total Complexity 76
Dependencies 10
Dependents 18
Total lines 617
Lines of code 393
Logical lines of code 163
Comment lines 137
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
validateDiscountValue()
A
51 11 25
getPagBankPendingOrders()
S
42 4 54
getExpiredPixOrders()
S
43 4 52
getTemplate()
S
55 5 17
applyPriceAdjustment()
S
57 5 16
stringClear()
S
38 1 75
getFriendlyPaymentMethodName()
S
61 5 13
convertToKg()
S
57 4 18
formatDate()
S
61 4 12
isCalledByDoShortcode()
S
62 4 11
generic_notice_pagbank()
S
61 3 11
getParamFromOrderMetaOrPost()
S
65 3 9
isValidPixCode()
S
69 3 6
isCheckoutBlocks()
S
73 3 4
isCartflowCheckout()
S
70 3 6
decrypt()
S
62 3 10
applyOrderPlaceholders()
S
59 2 13
encrypt()
S
64 2 9
addMetaQueryFilter()
S
65 2 9
getCcFlagUrl()
S
69 2 6
isBlockCheckoutInUse()
S
71 1 5
log()
S
70 1 5
getTemplateVersion()
S
68 1 7